﻿using System;
using System.Collections.Generic;

namespace BizElements.TemplateEngine
{
    /// <summary>Builds template input component for a given object.</summary>
    public interface ITemplateInputComponentBuilder
    {
        /// <summary>Builds template input component for a given object.</summary>
        ITemplateInputComponent Build(object instance);

        /// <summary>Checks whether the provided item is compatible with the component builder.</summary>
        bool IsCompatibleItem(object instance);
    }
}
